Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun calculate(dateRanges: Array<DateRange>, book: AccountBook, items: MutableList<BudgetItem>, showAllCategories: Boolean, showZeroes: Boolean, rollupUnbudgetedCats: Boolean = true): Budget.CalculationResults

Compute budgeted and actual amounts, store them in an object that can be used by various clients including the report, dashboard, and budget bars.

Link copied to clipboard
fun getIntervalIdx(intervals: Array<DateRange>, date: Int): Int

Given a date range list and a date, find the index of the date range in which the date belongs.